package com.yocard.yxyd.ui.contract;

import android.widget.RelativeLayout;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.request.CsmListRequest;
import com.yocard.yxyd.http.model.response.CsmOrderListBean;
import com.yocard.yxyd.others.ClassicsHeader;

import java.util.List;

/**
 * Created on 2019/4/8.
 */
public interface CustomerContract {
    interface View extends BaseView {
        void onFetcheList(List<CsmOrderListBean.OrderList> list);
    }

    interface Presenter extends BasePresenter<View> {
        void fetchCsmList(int currentPage, CsmListRequest request);
        void setUpelasHead(RelativeLayout rlHeadLayout, ClassicsHeader classicsHeader);
    }
}
